
package tomkitty.util;

import tomkitty.server.*;
import tomkitty.turdlet.*;

/**
 * EventListener is the interface for objects that receive events.
 *
 * @author micha
 */
public interface EventListener {
	
	/**
	 *
	 * Event handler method. Classes that implement EventSource interface
	 * will call this method of each object that is listening for events.
	 *
	 * @param event the Event object to pass around.
	 */ 
	public void onEvent(Event event);
		
}
